package com.zlict.admin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlict.common.annotation.Excel;
import com.zlict.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 项目验收对象 project_acceptance
 * 
 * @author dzw
 * @date 2025-06-11
 */
public class ProjectAcceptance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long projectId;

    /** 验收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 验收人员 */
    @Excel(name = "验收人员")
    private String person;

    /** 验收内容 */
    @Excel(name = "验收内容")
    private String content;

    /** 验收结论 */
    @Excel(name = "验收结论")
    private String conclusion;

    /** 验收附件 */
    @Excel(name = "验收附件")
    private String file;

    /** 验收类型 */
    @Excel(name = "验收类型")
    private Integer type;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setConclusion(String conclusion) 
    {
        this.conclusion = conclusion;
    }

    public String getConclusion() 
    {
        return conclusion;
    }

    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }

    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }


    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
                .append("projectId", getProjectId())
            .append("time", getTime())
            .append("person", getPerson())
            .append("content", getContent())
            .append("conclusion", getConclusion())
            .append("file", getFile())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("isEnable", getIsEnable())
            .toString();
    }
}
